Distributed leaky bucket based multi-modem scheduler for multimedia streams

ABSTRACT

Systems, methods, and devices of the various embodiments provide a multipath communication scheduler for an in-vehicle computing device, such as a vehicle&#39;s autonomous driving system, vehicle&#39;s telematics unit, vehicle&#39;s control system, etc. In various embodiments, a distributed leaky bucket based scheduler for an in-vehicle computing device may assign packets for transport to a plurality of modems based at least in part on the determined delivery delays. In various embodiments, delivery delays may be determined based on leaky bucket levels, burst sizes, delivery rates, and end to end delay estimates for each of the plurality of modems. In various embodiments, the scheduler may be one of a plurality of schedulers each associated with a separate stream of packets assigned to the plurality of modems and the leaky bucket levels may be determined on a per stream basis.

RELATED APPLICATIONS

This application claims the benefit of priority to U.S. Provisional Patent Application 62/421,890 entitled “Distributed Leaky Bucket Based Multi-Modem Scheduler For Multimedia Streams,” filed Nov. 14, 2016, the entire contents of which are hereby incorporated by reference for all purposes.

BACKGROUND

Vehicles, such as driverless cars, can include systems, such as sensors, cameras, etc., that can generate data that can be sent to other devices remote from the vehicle, such as remote computing device, other vehicles, etc. Additionally, vehicles, such as driverless cars, can receive data from other devices remote from the vehicle, such as remote computing device, other vehicles, etc. Such generated and/or received data can be used by the vehicle and/or the other devices remote from the vehicle to support operation of the vehicle

As one example, vehicles, such as driverless cars, can operate autonomously in many situations. Sensors, cameras, and other systems of the vehicle can provide inputs to the vehicle's control system and the control system can operate the vehicle autonomously based on the provided inputs. However, in some scenarios the vehicle might not be able to effectively operate autonomously, and remote teleoperation of the vehicle, even for just a short period of time, may be beneficial in those scenarios. By providing the inputs received by the vehicle's control system to the remote teleoperator, the remote teleoperator can manually operate or guide the vehicle through the scenario

SUMMARY

The systems, methods, and devices of the various embodiments provide a multipath communication scheduler for an in-vehicle computing device, such as a vehicle's autonomous driving system, vehicle's telematics unit, vehicle's control system, etc. In various embodiments, a distributed leaky bucket based scheduler for an in-vehicle computing device may assign packets for transport to a plurality of modems based at least in part on the determined delivery delays. In various embodiments, delivery delays may be determined based on leaky bucket levels, burst sizes, delivery rates, and end to end delay estimates for each of the plurality of modems. In various embodiments, the scheduler may be one of a plurality of schedulers each associated with a separate stream of packets assigned to the plurality of modems and the leaky bucket levels may be determined on a per stream basis. In various embodiments, the leaky bucket levels may be determined based at least in part on queue feedback from the plurality of modems. In various embodiments, packets may be assigned further based a path priority.

Various embodiments include methods that may be implemented in a scheduler running on a processor of an in-vehicle computing device for multipath transmission from a vehicle. Various embodiments may include receiving, in the scheduler, a packet for transport, determining, in the scheduler, delivery delays associated with a plurality of modems based at least in part on leaky bucket levels associated with each modem of the plurality of modems, and assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays. In various embodiments, the scheduler may determine delivery delays associated with a plurality of modems and assign the packet to two or more of the plurality of modems in response to a determination that a scenario for multipath transmission is occurring. In some embodiments, determining delivery delays associated with a plurality of modems based at least in part on leaky bucket levels associated with each modem of the plurality of modems may include determining, in the scheduler, delivery delays based at least in part on leaky bucket levels and delivery rates for each delivery path associated with each of the plurality of modems. In some embodiments, delivery delays may be further determined based on end to end delay estimates for each of the plurality of modems. In some embodiments, the scheduler may be one of a plurality of schedulers each associated with a separate stream of packets assigned to the plurality of modems, and the leaky bucket levels may be determined on a per stream basis. In some embodiments, a leaky bucket rate and burst size may be determined based on aggregate rate feedback from each modem of the plurality of modems at each update time of the leaky bucket rate and burst size. In some embodiments, the leaky bucket levels may be adjusted based at least in part on queue feedback from the plurality of modems. In some embodiments, the plurality of modems may be three or more modems and the plurality of schedulers may be three or more schedulers. In some embodiments, assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays may include assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays and a path priority. Some embodiments may further include determining, in the scheduler, an adjusted media generation rate based at least in part on an available bandwidth, and controlling, by the scheduler, one or more encoders providing packets to the scheduler for transport according to the adjusted media generation rate. In some embodiments, the plurality of modems may be three or more modems. In some embodiments, the scenario for multipath transmission may be an ongoing scenario during vehicle operation. In some embodiments, the packet for transport may support remote teleoperation of a vehicle in which the in-vehicle computing device is installed, and the scenario for multipath transmission may be a scenario for remote teleoperation of the vehicle. Some embodiments may further include transmitting the packet from the assigned two or more of the plurality of modems to a remote teleoperator computing device. In some embodiments, the transmission may be a Multipath Real-Time Transport Protocol (MPRTP) transmission.

Further embodiments may include an in-vehicle computing device having a processor configured with processor executable instructions to perform operations of any of the methods summarized above. Further embodiments may include in-vehicle computing device having means for performing functions of any of the methods summarized above. Further embodiments may include non-transitory processor-readable media on which are stored processor-executable instructions configured to cause a processor of an in-vehicle computing device to perform operations of any of the methods summarized above.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate exemplary embodiments of the invention, and together with the general description given above and the detailed description given below, serve to explain the features of the invention.

FIG. 1A is a system block diagram illustrating a network suitable for use with various embodiments.

FIG. 1B is a communication system block diagram of a network suitable for use with various embodiments.

FIGS. 2 and 3 are system block diagrams illustrating relationships between network elements and the computing device layers (or stacks) in a network according to various embodiments.

FIGS. 4A and 4B are system block diagrams illustrating relationships between network elements and the computing device layers (or stacks) in a network according to various embodiments.

FIG. 5 is a call flow diagram illustrating interactions between a MPRTP translator and destination computing device to establish an MPRTP transport session according to an embodiment.

FIG. 6 is a call flow diagram illustrating interactions between a source computing device, MPRTP translator, and destination computing device to establish an MPRTP transport session according to an embodiment.

FIG. 7 illustrates a delivery chain of media streams within an MPRTP translator according to various embodiments.

FIG. 8 illustrates packet level interactions between a packet scheduler and modems according to various embodiments.

FIG. 9 is a call flow diagram illustrating a sender and receiver exchange between a MPRTP translator and destination computing device.

FIG. 10A is a process flow diagram illustrating an embodiment method for scheduling MPRTP transmissions.

FIGS. 10B and 10C illustrate example leaky bucket filling examples for allocating burst sizes to the N paths.

FIG. 11 is a process flow diagram illustrating an embodiment method for allocating burst sizes to paths.

FIG. 12 is a process flow diagram illustrating an embodiment method for adjusting media generation rates.

FIG. 13 is a process flow diagram illustrating an embodiment method for assigning flow and burst rates to sub-flows.

FIG. 14 illustrates feedback interactions between a schedulers and modems according to various embodiments.

FIG. 15 is a process flow diagram illustrating an embodiment method for adjusting delivery rate estimates based on error detections.

FIG. 16 is a component diagram of an example computing device suitable for use with the various embodiments.

FIG. 17 is a component diagram of an example server suitable for use with the various embodiments.

DETAILED DESCRIPTION

The various embodiments will be described in detail with reference to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. References made to particular examples and implementations are for illustrative purposes, and are not intended to limit the scope of the invention or the claims.

The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any implementation described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other implementations.

As used herein, the terms “mobile device”, “receiver device”, and “computing device” are used interchangeably herein to refer to any one or all of cellular telephones, smart phones, personal or mobile multi-media players, personal data assistants (PDAs), laptop computers, personal computers, tablet computers, smart books, palm-top computers, wireless electronic mail receivers, multimedia Internet enabled cellular telephones, wireless gaming controllers, satellite or cable set top boxes, streaming media players (such as, ROKU® or CHROMECAST® or FIRE TV™), smart televisions, digital video recorders (DVRs), and similar personal electronic devices which include a programmable processor and memory and circuitry for sending and/or receiving files.

The various embodiments are described herein using the term “server” to refer to any computing device capable of functioning as a server, such as a master exchange server, web server, mail server, document server, content server, or any other type of server. A server may be a dedicated computing device or a computing device including a server module (e.g., running an application that may cause the computing device to operate as a server). A server module (e.g., server application) may be a full function server module, or a light or secondary server module (e.g., light or secondary server application) that is configured to provide synchronization services among the dynamic databases on receiver devices. A light server or secondary server may be a slimmed-down version of server-type functionality that can be implemented on a receiver device thereby enabling it to function as an Internet server (e.g., an enterprise e-mail server) only to the extent necessary to provide the functionality described herein.

Vehicles, such as driverless cars, may include one or more systems, such as sensors, cameras, etc., that can generate data and/or can include one or more systems that can benefit from data received from devices remote from the vehicles, such as mapping systems, remote teleoperation systems, etc. The transport of the data generated by the vehicle and/or the data received by the vehicle over any given delivery path, such as a Long Term Evolution (LTE) pathway, Wi-Fi pathway, etc., may be limited by the capabilities (e.g., bandwidth, latency, reliability, cost, etc.) of that given delivery path. Thus, while transport of data to and from vehicles like driverless cars can be beneficial, current single path communication systems may not have the capabilities (e.g., bandwidth, latency, cost, etc.) in a single path to meet the needs for data transport of such vehicles under some circumstances.

One example of a scenario in which data transport is needed for autonomous and semi-autonomous vehicles, such as driverless cars, is remote teleoperation. Remote teleoperation of driverless cars, self-driving cars, or any other type of autonomous or semi-autonomous vehicle requires both the inputs received by the vehicle's control system to be provided to a computing device of the remote teleoperator and the commands from the remote teleoperator's computing device to be provided to the vehicle's control system in essentially real time (or near real time). Reliable and real time/near real time communications of data is required to enable a remote teleoperator successfully and safely navigate the vehicle through time-critical situations, such as a traffic control scenario, an accident situation, a vehicle malfunction condition, or any other type scenario or condition necessitating remote teleoperation of the vehicle. While limited remote teleoperation of vehicles can be beneficial, current communication systems may not meet the latency requirements or the reliability requirements to support safe teleoperation of a vehicle, particularly when several vehicles may be in the same situation (e.g., in a traffic accident situation).

Another example of a scenario in which reliable, near real time data transport is needed for vehicles, such as driverless cars, is car-to-car mapping. In car-to-car mapping, a vehicle may generate a local map (or picture) of vehicles and objects around the vehicle. For example, using LIDAR or RADAR, a computing device within the vehicle may generate a map of the space around the vehicle. The computing device within the vehicle may then share that map with other vehicles, such as other driverless cars, enabling such other vehicles can to the map to update and/or generate their own respective maps. While such map sharing can be beneficial, current communication systems do not meet the bandwidth requirements at a reasonable cost to support car-to-car mapping.

Further examples of scenarios in which reliable, near real time data transport is needed for vehicles, such as driverless cars, include: transport of on-vehicle sensor data, e.g., tachometers, accelerometers, etc., to remote vehicle diagnostic services; transport of vehicle camera images to other vehicles to alert such other vehicles of traffic patterns; and transport of sensor data or camera images to other vehicles or traffic monitoring services to report the status of traffic control equipment (e.g., whether a traffic light is green or red, whether a traffic light is working or disabled, the posted speed limit for a road as indicated by a highway sign, etc.). Scenarios in which reliable, near real time data transport is needed for vehicles, such as driverless cars may be intermittent scenarios, such as scenarios that may have a limited duration (e.g., remote teleoperation, etc.) and/or ongoing scenarios, such as scenarios that are always occurring (e.g., do not end) during operation of the vehicle (e.g., transport of on-vehicle sensor data, etc.). While such data transport can be beneficial, current communication systems do not meet bandwidth, latency, reliability, and/or cost requirements to make such data transport worthwhile and/or effective.

Various embodiments provide a multipath communication scheduler for an in-vehicle computing device, such as a vehicle's autonomous driving system, vehicle's telematics unit, vehicle's control system, etc. The various embodiments provide a multipath communication scheduler for an in-vehicle computing device that may support data transmissions from and to the in-vehicle computing device while meeting bandwidth, latency, reliability, and/or cost requirements associated with such data transport. Various embodiments may include receiving in a scheduler of an in-vehicle computing device a packet for transport, determining delivery delays associated with a plurality of modems based at least in part on leaky bucket levels associated with each modem, and assigning the packet to one or more of the plurality of modems based at least in part on the determined delivery delays. In various embodiments, the packet for transport may be a packet of a stream of packets associated with teleoperation of the vehicle. For example, the streams for transport may be media streams received from encoders outputting Real-time Transport Protocol (RTP) packets and the transport may be multipath transport along the different pathways, such as transport according to the Multipath Real-Time Transport Protocol (MPRTP), as described in the Internet Engineering Task Force (IETF) Audio/Video Transport (AVT) Core Working Group's Internet-Draft draft-ietf-actcore-mprtp-03 available at https://tools.ietf.org/html/draft-ietf-avtcore-mprtp-03. As another example, the streams for transport may be streams of data from a LIDAR output as Transmission Control Protocol (TCP) packets and the transport may be multipath transport along the different pathways, such as transport according to Multipath TCP. As another example, the multipath transport along the different pathways may be transport according to the Stream Control Transmission Protocol (SCTP). In various embodiments, delivery delays may be determined based on leaky bucket levels, burst sizes, delivery rates, and end to end delay estimates for each of the plurality of modems. In various embodiments, a scheduler of an in-vehicle computing device may be one of a plurality of schedulers each associated with a separate stream of packets assigned to the plurality of modems and the leaky bucket levels may be determined on a per stream basis. In various embodiments, the leaky bucket levels are determined based at least in part on queue feedback from the plurality of modems. In various embodiments, packets may be assigned further based a path priority. In various embodiments, a packet generation rate, such as a media generation rate, may be adjusted and one or more encoders providing packets to the scheduler for transport may be controlled according to the adjusted media generation rate.

Various examples of different applications/clients, middleware, layers, stacks, radio technologies, and transport protocols are discussed herein, specifically, MPRTP, RTP, RTP Control Protocol (RTCP), secure RTP (SRTP), and LTE. The discussions of MPRTP, RTP, RTCP, SRTP, and LTE are provided merely as examples to better illustrate the aspects of the various embodiments, and are not intended to limit the various embodiments in any way. Other applications/clients, middleware, layers, stacks, radio technologies, and transport protocols, such as TCP, MPTCP, SCTP, etc., may be used with the various embodiments, and the other applications/clients, middleware, layers, stacks, radio technologies, and transport protocols may be substituted in the various examples without departing from the spirit or scope of the invention.

FIG. 1A is a system block diagram illustrating a network 100, such as a remote teleoperator network for a vehicle 112, suitable for use with various embodiments. The vehicle 112 may be any type of vehicle, such as an autonomous vehicle (e.g., driverless car, etc.), semi-autonomous vehicle, remotely operated vehicle, etc. The vehicle 112 may be configured to be operated remotely for a period of time by a remote teleoperator 110 using his or her remote teleoperator computing device 104.

To support remote teleoperation, an in-vehicle computing device 102 in the vehicle 112, such as an autonomous driving system, a telematics unit, a control system, etc. of the vehicle 112, may establish one or more different delivery communication paths 106, 107, and/or 108 through a delivery cloud (e.g., delivery paths established via distinct LTE connections established by different LTE modems) between the in-vehicle computing device 102 and the remote teleoperator computing device 104. In some embodiments, the in-vehicle computing device 102 may be part of the autonomous driving system, telematics unit, control system, etc. of the vehicle 112. In some embodiments, the in-vehicle computing device 102 may be a separate computing device, such as a system-on-chip computing device, in communication with autonomous driving system, telematics unit, control system, etc. of the vehicle 112.

Sensors, cameras, and other systems of the vehicle 112 may provide inputs to the in-vehicle computing device 102. As examples, LIDARs, RADARs, accelerometers, tachometers, forward cameras, rear-view cameras, side cameras, etc., may provide inputs to the in-vehicle computing device 102. The inputs may be received from direct connections to the sensors, cameras, and other systems, and/or may be received via connections to other communication networks, such as the controller area network (CAN) bus, etc. of the vehicle 112, or other devices such as an Ethernet connection to another on-vehicle 112 device. The inputs may have different time sensitivities. For example, some data may update rapidly and be time sensitive, such as video data, LIDAR data, audio data, etc. As an alternative example, some data may update relatively slowly, such as data received from the vehicle's CAN bus, such as temperature sensor data, odometer data, etc.

Via the one or more different delivery paths 106, 107, and/or 108 the in-vehicle computing device 102 may send the inputs from the sensors, cameras, and other systems of the vehicle 112 to the remote teleoperator computing device 104. The remote teleoperator 110 may use the inputs from the sensors, cameras, and other systems of the vehicle 112 to manually operate or otherwise guide the vehicle 112. Such manual operation of guidance to the vehicle may be accomplished by controlling a remote teleoperator computing device 104 to transmit one or more commands to the in-vehicle computing device 102 via the one or more different delivery paths 106, 107, and/or 108.

In the example of the operation of the network 100 illustrated in FIG. 1A, an autonomous vehicle 112 approaches an unmetered intersection in which a police officer 115 is directing traffic, such as a truck 114, to merge into the lane of the vehicle 112. Based on inputs from the vehicle's 112 sensors, cameras, and other systems, the in-vehicle computing device 102 (or other computing device of the vehicle) may determine that the current operating conditions exceeds the safe operating capabilities of the vehicle's autonomous driving system, and thus requires remote teleoperation of the vehicle 112. For example, the high variability and potential randomness in the operations of the police officer 115 and the truck 114 in the merging scenario may be such that the autonomous control algorithms may not be capable of ensuring safe control the vehicle 112 in the scenario. In response to determining that a scenario for remote teleoperation is occurring, the in-vehicle computing device 102 may establish one or more different delivery paths 106, 107, and/or 108 through the delivery cloud to enable remote teleoperation of the vehicle 112 by the remote teleoperator 110 via his or her remote teleoperator computing device 104. The vehicle 112 may then be navigated through the merging situation via remote teleoperation or remote guidance. Upon successful navigation through the situation, remote teleoperation of the vehicle 112 may end and control may be passed back to the vehicle's autonomous driving system.

Additionally, the vehicle 112 may establish data connections with other devices, such as other vehicles (e.g., truck 114) to send and/or receive data from those other vehicles. The computing device 102 in the vehicle 112 may establish one or more different delivery paths 151, 152, and/or 153 directly between the in-vehicle computing device 102 and the in-truck computing device 154. The delivery paths may be established via distinct LTE connections established by different LTE modems, delivery paths established via distinct Wi-Fi connections established by different Wi-Fi modems, delivery paths establish via a combination of LTE and Wi-Fi modems, etc. In some embodiments, the in-truck computing device 154 may be part of the autonomous driving system, telematics unit, control system, etc. of the truck 114. In some embodiments, the in-truck computing device 154 may be a separate computing device, such as a system-on-chip computing device, in communication with the autonomous driving system, telematics unit, control system, etc. of the truck 114. Sensors, cameras, and other systems of the truck 114 may provide inputs to the in-truck computing device 154. As examples, LIDARs, RADARs, accelerometers, tachometers, forward cameras, rear-view cameras, side cameras, etc., may provide inputs to the in-truck computing device 154. The inputs may be received from direct connections to the sensors, cameras, and other systems, and/or may be received via connections to other communication networks, such as the truck's CAN bus, etc., or other devices, e.g., an Ethernet connection to another on truck 114 device. Via the one or more different delivery paths 151, 152, and/or 153 the in-vehicle computing device 102 and the in-truck computing device 154 may exchange their respective inputs from the sensors, cameras, and other systems. As an example of the transport of data exchanged between the truck 114 and the vehicle 112 via the one or more different delivery paths 151, 152, and/or 153, the vehicle 112 and truck 114 may exchange map data in a car-to-car mapping process. As another example, the vehicle 112 may send the truck 114 camera data of the police officer 115 to enable the truck 114 to better maneuver through the traffic scenario based on the camera data from the vehicle 112.

FIG. 1B illustrates further aspects of the network 100 suitable for use with various embodiments. As described with reference to FIG. 1A, the network 100 may include two computing devices 102 and 104/154 configured to communicate with one another via multipath transport sessions, such as MPRTP transport sessions. At a given time in any multipath transport session one computing device, such as in-vehicle computing device 102, may be the computing device sending multipath subflows to the other computing device which may receive one or more of the multipath subflows, such as remote teleoperator computing device 104, in-truck computing device 154, etc., via different delivery paths 106, 107, and/or 108 established via a delivery cloud 101 (e.g., the Internet, LTE networks, etc.) and/or different delivery paths 151, 152, and/or 153 established directly, between the two computing devices 102 and 104/154. The computing device sending the multipath subflows, such as in-vehicle computing device 102, may be referred to as a multipath source computing device, multipath translator, or multipath server. The computing device receiving the multipath subflows, such as a remote teleoperator computing device 104, in-truck computing device 154, etc., may be referred to as a multipath destination computing device, multipath client, or multipath receiver. The different delivery paths 106, 107, and/or 108 may each be separate delivery paths through the delivery cloud 101 (e.g., delivery paths established via distinct LTE connections established by different LTE modems) and/or different delivery paths 151, 152, and/or 153 established directly and the different delivery paths may be routed from distinct Internet Protocol (IP) addresses of the computing device sending the multipath subflows, such as in-vehicle computing device 102, to one or more IP addresses of the computing device receiving the multipath subflows, such as remote teleoperator computing device 104, in-truck computing device 154, etc.

In various embodiments, each multipath stream sent over the different delivery paths 106, 107, 108, 151, 152, and/or 153 may be the same, such that should any one delivery path experience a failure, another delivery path may still provide the same multipath stream, thereby providing redundancy and improved quality of service. For example, each multipath stream may be the same MPRTP stream sent over the different delivery paths 106, 107, 108, 151, 152, and/or 153. In various embodiments, the multipath streams may enable a receiver to recover the original media stream, such as the original RTP stream. By enabling such recovery, the various embodiments may allow a higher utilization and better reliability than current systems through the use of the multiple paths that are available. In various embodiments, delivery paths 106, 107, 108, 151, 152, and/or 153 may be assigned different priorities, such as one delivery path (e.g., 106, 107, 108, 151, 152, or 153) being prioritized over the other delivery paths (e.g., 106, 107, 108, 151, 152, or 153). Delivery paths 106, 107, 108, 151, 152, and/or 153 may be prioritized relative to one another based on one or more path attributes associated with the delivery paths 106, 107, 108, 151, 152, and/or 153, such as cost, bandwidth, quality-of-service (QoS), etc.

FIG. 2 illustrates relationships between a multipath source 202 and multipath client 204 in a network according to various embodiments. For example, the multipath source 202 may be an in-vehicle computing device, such as in-vehicle computing device 102, and the multipath client 204 may be a remote teleoperator computing device, such as remote teleoperator computing device 104. FIG. 2 illustrates the various embodiment relationships using SIP, Session Description Protocol (SDP), RTP, RTCP, MPRTP, UDP, and IP as protocols supporting the multipath transmissions, however, these protocols are merely examples suitable for use with the various embodiments and other protocols, such as TCP, MTCP, SCTP, etc., may be substituted for SIP, SDP, RTP, RTCP, MPRTP, UDP, and IP in the various embodiments. The multipath source 202 may receive inputs from “L” number of cameras 206 (or sensors (e.g., LIDAR, RADAR, accelerometers, tachometers, etc.), other systems, etc.), such as three cameras, at an encoder (or sensor signal processing device, other system processor, etc.) that may output a stream of packets, such as video packets, including the inputs from each camera (or sensors, other systems, etc.) for transmission to the multipath client 204. The encoder (or sensor signal processing device, other system processor, etc.) may output the media stream to an RTP and RTCP stack (or layer), which may package the media packets as RTP packets for transport via RTP. The RTP and RTCP stack (or layer) may send the RTP stream to the MPRTP stack (or layer), which may prepare the RTP packets for transport via MPRTP. For example, the MPRTP stack (or layer) may add MPRTP extension headers to the RTP packets to generate MPRTP packets. In various embodiments the RTP and RTCP stack (or layer) and the MPRTP stack (or layer) may be separate layers or may be combined into a single layer.

The stream of packets may be spread over “N” number of streams (e.g., three streams), such that each stream may include inputs from the “L” cameras 206 (or sensors, other systems, etc.) in separate subflows. The “N” streams may be sent to their own respective User Datagram Protocol (UDP) stack (or layer), which may output the MPRTP subflows to respective modems for transmission via their own IP address to the IP address of the multipath client 204 over the delivery cloud 203, such as the Internet, LTE networks, etc. Each stream may be sent over its own delivery path, such that “N” different delivery paths may each provide “L” subflows to the IP address of the multipath client 204 in the delivery session. In various embodiments, security may be applied to the IP streams on a per stream basis by IP security layers at the modems.

The delivery session between the multipath source 202 and the multipath client 204 may be managed by a session manager with SDP client on the multipath source 202 that may generate an SDP for the MPRTP transport session providing the various streams from the multipath source 202 to the multipath client 204. In this manner, the session control may be end-to-end. The SDP may be sent from the session manager of the multipath source 202 to the session manager of the multipath client 204 using the session initiation protocol (SIP). The SDP may be sent via any pathway, such as a dedicated control channel between one or more IP addresses of the multipath source 202 and an IP address of the multipath client 204, one of the “N” different delivery paths used for the transport of the streams, or any other delivery mechanism. The SDP may indicate various information including the number of streams (e.g., number of video streams, sensor streams, etc.), a packet or stream description (e.g., a media description including video encoder configuration and RTP packet information, etc.), bandwidth, IP address and port information to receive streams (e.g., video streams, etc.) and their corresponding control packets, etc. The multipath source 202 may also indicate a preferred or prioritized IP interface via the SDP. The preference or priority may be relative among the various “N” different delivery paths, and may be based on one or more path attributes, such as cost of using delivery paths, bandwidth of delivery paths, QoS of delivery paths, etc. The multipath client 204 may receive the SDP from the multipath source 202 and receive the streams by combining the one or more of the “N” different delivery paths according to the SDP. Additionally, the SDP may indicate IP security contexts for the MPRTP transport session, such as encryption and authentication keys, for the MPRTP subflows.

The multipath client 204 may receive the MPRTP subflows sent via the “N” different delivery paths and in the opposite manner of the multipath source 202 pass the received MPRTP packets of the streams via a UDP stack (or layer) to an MPRTP stack (or layer). The MPRTP stack (or layer) may remove any MPRTP extension headers as needed to reconstitute the original RTP and RTCP packets and may pass the RTP and RTCP packets to the RTP and RTCP stack (or layer). The RTP and RTCP stack (or layer) may pass the packets to a decoder (or sensor signal processing device, other system processor, etc.) that may decode the packets to produce the original “L” camera (or sensor, other system, etc.) inputs for further use by the multipath client 204. For example, the multipath client 204 may be a backend server that may store the original “L” camera inputs for use by a remote teleoperator. As another example, the multipath client 204 may be the remote teleoperator computing device 104 and the remote teleoperator computing device 104 may output the original “L” camera (or sensor, other system, etc.) inputs to the remote teleoperator 110 to enable the remote teleoperator 110 to control the vehicle 112.

FIG. 3 illustrates relationships between a source 304, such as an RTP source, a multipath translator 305, such as an MPRTP translator, and multipath client 302, such as an MPRTP client, in a network according to various embodiments. For example, the source 304 may be an autonomous driving system, telematics unit, vehicle control system, etc. of a vehicle, such as vehicle 112, the multipath translator 305 may be an in-vehicle computing device, such as in-vehicle computing device 102, and the multipath client 302 may be a remote teleoperator computing device, such as remote teleoperator computing device 104. FIG. 3 illustrates the various embodiment relationships using SIP, SDP, RTP, RTCP, MPRTP, UDP, and IP as protocols supporting the multipath transmissions. However, these protocols are merely examples suitable for use with the various embodiments and other protocols, such as TCP, MTCP, SCTP, etc., may be substituted for SIP, SDP, RTP, RTCP, MPRTP, UDP, and IP in the various embodiments.

The source 304 may receive inputs from “M” number of cameras 306 (or sensors (e.g., LIDAR, RADAR, accelerometers, tachometers, etc.), other systems, etc.), such as four cameras, and via an encoder (or sensor signal processing device, other system processor, etc.), SRTP/RTCP stack (or layer), UDP stack (or layer), and IP stack (or layer) (e.g., via an Ethernet connection), output a number “M” of RTP streams to the multipath translator 305. The RTP transport session between the RTP source 304 and multipath translator 305 may be controlled by the session manager of the RTP source 304 which may generate and send a SDP for the session to the multipath translator 305. The SDP may indicate various information including the number of streams (e.g., video streams, sensor streams, etc.), a packet or stream descriptions (e.g., a media description including video encoder configuration and RTP packet information, etc.), bandwidth, IP address and port information to receive streams (e.g., video streams, sensor streams, etc.) and their corresponding control packets, etc. A session manager at the multipath translator 305 may receive the SDP from the RTP source 304.

The multipath translator 305 may receive the SDP from the RTP source 304 and according to the SDP receive the “M” RTP streams. The multipath translator 305 may pass the received RTP streams to an SRTP and RTCP stack (or layer) that may send the RTP stream to the SRTP and RTCP/MPRTP and sf-RTCP stack (or layer) for preparation for transport via MPRTP. For example, the SRTP and RTCP/MPRTP and sf-RTCP stack (or layer) may add MPRTP extension headers to the RTP packets to generate MPRTP packets.

The stream of packets may be delivered in “N” streams (e.g., three streams), such that each stream may inputs from the “M” cameras 306 in a separate subflow. In various embodiments, the streams may carry disjointed information, redundant information, a mix of disjointed and redundant packets or a mix of original packets and repair packets. For example, a mix of original packets and repair packets may be carried when forward error correction (FEC) is applied. The “N” streams may be sent to their own respective User Datagram Protocol (UDP) stack (or layer), which may output the MPRTP subflows to respective IP and IP Security stacks (or layers) of respective modems for transmission via their own IP address to the IP address of the multipath client 302 over the delivery cloud 203, such as the Internet, LTE networks, etc. Each stream may be sent over its own delivery path, such that “N” different delivery paths may provide the “M” subflows to the IP address of the multipath client 302 in the delivery session.

The delivery session between the multipath translator 305 and the multipath client 302 may be managed by the session manager on the multipath translator 305. The session manager of the multipath translator 305 may modify the SDP received from the RTP source 304 to add MPRTP extension information. In this manner, the modified SDP sent from the multipath translator 305 to the multipath client 302 may describe the MPRTP session between the multipath translator 305 and the multipath client 302. In this manner, the session control may be achieved end-to-end. The modified SDP may indicate various information including the number of streams (e.g., video streams, sensor streams, etc.), a description of the packets or streams (e.g., a media description including video encoder configuration and RTP packet information, etc.), bandwidth, IP address and port information to receive streams (e.g., video streams, sensor streams, etc.) and their corresponding control packets, etc. The SDP may be sent from the session manager of the multipath translator 305 to the session manager of the multipath client 302 using the session initiation protocol (SIP). The SDP may be sent via any pathway, such as a dedicated control channel between one or more IP addresses of the multipath translator 305 and an IP address of the multipath client 302, one of the “N” different delivery paths used for the transport of the streams, or any other delivery mechanism. The multipath client 302 may receive the modified SDP from the multipath translator 305 and receive the streams via one or more of the “N” different delivery paths according to the modified SDP. Additionally, the SDP may indicate security contexts for the MPRTP transport session, such as the IP security applied by the RTP source 304 and the SMPRTP encryption and authentication applied by multipath translator 305. The multipath translator 305 may also indicate a preferred or prioritized IP interface via the SDP. The preference or priority may be relative among the various “N” different delivery paths, and may be based on one or more path attributes, such as cost of using delivery paths, bandwidth of delivery paths, QoS of delivery paths, etc.

The multipath client 302 may receive the MPRTP subflows sent via the “N” different delivery paths and pass the received MPRTP packets of the streams via a UDP stack (or layer) to a SRTP and RTCP/MPRTP and sf-RTCP stack (or layer). The SRTP and RTCP/MPRTP and sf-RTCP stack (or layer) may remove any MPRTP extension headers as needed to reconstitute the original RTP and RTCP packets and may pass packets to a decoder (or sensor signal processing device, other system processor, etc.) that may decode the packets to produce the original “M” camera (or sensor, other system, etc.) inputs for further use by the multipath client 302. For example, the multipath client 302 may be a backend server that may store the original “M” camera inputs for use by a remote teleoperator. As another example, the multipath client 302 may be the remote teleoperator computing device 104 and the remote teleoperator computing device 104 may output the original “M” camera (or sensor, other system, etc.) inputs to the remote teleoperator 110 to enable the remote teleoperator 110 to control the vehicle 112.

FIG. 4A illustrates example relationships between a source computing device 402 and a multipath translator 404 in a network according to various embodiments. For example, the source computing device 402 may be an autonomous driving system, telematics unit, vehicle control system, etc. of a vehicle, such as vehicle 112, the multipath translator 404 may be an in-vehicle computing device, such as in-vehicle computing device 102. The source computing device 402 and multipath translator 404 may be similar to the source computing device 304 and multipath translator 305 described above with reference to FIG. 3, except that in addition to receiving RTP streams from the source computing device 402, the multipath translator 404 may also encode and generate its own RTP streams from internal cameras (or other sensors, systems, etc.) 1, 2, and 3. FIG. 4 illustrates the various embodiment relationships using SIP, SDP, RTP, RTCP, SRTP, MPRTP, UDP, TCP, Ethernet, and IP as protocols supporting the multipath transmissions, however, these protocols are merely examples suitable for use with the various embodiments and other protocols, such as TCP, MTCP, SCTP, etc., may be substituted for SIP, SDP, RTP, RTCP, SRTP, MPRTP, UDP, TCP, Ethernet, and IP in the various embodiments. The internal cameras (or sensors (e.g., LIDAR, RADAR, accelerometers, tachometers, etc.), other systems, etc.) 1, 2, and 3 may provide outputs to the video encoder (or other type encoder) of the multipath translator 404, which may output the RTP streams for the internal cameras (or other sensors, systems, etc.) to the RTP/SRTP stack (or layer).

The source computing device 402 may connect to the multipath translator 404 using a local Ethernet connection. The Ethernet connection may handle session control signaling between the source computing device 402 and the multipath translator 404. The Ethernet connection may also provide the outputs of the four external cameras (or other sensors, systems, etc.) as RTP streams to the RTP/SRTP stack (or layer) of the multipath translator 404. In various embodiments, an application on the source computing device 402 may establish and maintain a control connection to the multipath translator 404. The logical session management function on the source computing device 402 may establish a SIP connection to the multipath translator 404 to manage session establishment and teardown for the external camera streams. The multipath translator 404 may use the SDP delivered by the source computing device 402 to create the MPRTP session SDP that may be established with the backend MPRTP client (e.g., a backend server) receiving the MPRTP streams via the modems 1, 2, and 3. The logical session management function on the multipath translator 404 may establish a SIP connection to the source computing device 402 to manage session establishment and teardown using the SIP protocol. After session establishment, media streams may be delivered either using RTP or MPRTP to the multipath translator 404.

The multipath translator 404 may connect to 3 modems, 1, 2, and 3, via a Peripheral Component Interconnect Express (PCIE) switch. Each modem 1, 2, and 3 may have its own subscription with a different service provider. For example, each modem 1, 2, and 3 may be a different LTE modem establishing a different connection with a different carrier network. Costs, bandwidths, and QoS for each service provider and/or carrier network may be the same or different. Additionally, the capabilities of each modem 1, 2, and 3 may be the same or different. The modem manager may support multiple modems, and the connection manager may provide basic control to modem applications for accessing and managing the modems 1, 2, and 3. The modem manager interface may provide further functionality for accessing modem controls and information. For example, the uplink reporting of the available delivery rates on the modems (e.g., a modem control (MC) (or modem notification (MN) interface)) may be available on the modem manager interface. A traffic scheduler of the multipath translator 404 may schedule MPRTP packets for the streams to the modems 1, 2, and 3. In various embodiments, the traffic scheduler may be part of the MPRTP stack (or layer) of the multipath translator 404. In various embodiments, the traffic scheduler may be a standalone application interfacing with other stacks (or layers) of the multipath translator 404, such as the MPRTP stack (or layer), IP stack, TCP stack (or layer), modem manager, and/or modem applications, etc.

IPSec tunnels, IPSec1, IPSec2 and IPSec3, may be established to the backend multipath client (e.g., a backend server). In this manner, multiple virtual interfaces, each using its own virtual private network (VPN) IP address VPN IP1, VPN IP2, and VPN IP3, may be established. The multipath translator 404 may establish and maintain a control connection to the backend multipath client (e.g., a backend server).

The multipath translator 404 may operate as a RTP to MPRTP translator or MPRTP to MPRTP translator to deliver the streams (e.g., video streams, sensor streams, etc.) to the multipath client using MPRTP. The streams (e.g., video streams, sensor streams, etc.) may be delivered using one or more of the three paths established by the modems 1, 2, and 3, respectively. The multipath translator 404 may prefer a path due to possibly favorable terms from the corresponding operator. In some embodiments, the multipath translator 404 may establish all single-path communication over the interface associated with the preferred operator. Any artificial favoring of one interface may increase the delay in the system. However, the packet scheduling algorithms of the various embodiments may route the traffic to the queues that hold less data. In this manner, competing TCP traffic may be given a chance to get through in various embodiments because the scheduler will divert multipath traffic to queues with less occupancy and delay. In various embodiments, the multipath stack (or layer) may provide rate control feedback. For example, the multipath stack (or layer) may compare an aggregate available rate to aggregate source rates. The multipath stack (or layer) may provide a suggested transmit rate per source whenever needed.

FIG. 4B illustrates relationships of RTP flows between the source computing device 402 and a multipath translator 404 according to various embodiments. The RTP streams from the source computing device 402 and the self-generated RTP streams of the multipath translator 404 may be combined and handled by the multipath translator as subflows as described above with reference to FIG. 3. In various embodiments, the multipath translator 404 may translate the incoming RTP packets into a series of subflows and may generate control packets, such as RTCP packets, on a subflow basis (i.e., sf-RTCP packets). In this manner, the RTCP subflow sender and receiver reports may be generated on a per path basis. The multipath translator 404 may relay sf-RTCP sender reports to the destination computing device, and sf-RTCP packets may not be forwarded from the multipath translator 404 to the source computing device 402. MPRTP may be used to distribute the RTP packets onto MPRTP subflows by inserting a MPRTP header extension into the RTP header. The MPRTP header extension may include a subflow identifier, and a subflow sequence number. The sf-RTCP moniker may be used to identify the RTCP subflow reports that may be defined in the MPRTP protocol. These subflow RTCP packets may provide delivery statistics on the different subflows. While described above with reference to RTP to MPRTP translation, the same operations as described in FIGS. 1A-4B may be used for MPRTP-to-MPRTP translation.

FIG. 5 is a call flow diagram illustrating interactions between a multipath translator 503 and destination (or client) computing device 505 to establish a multipath transport session according to an embodiment, such as an MPRTP transport session. The multipath translator 503 may be an in-vehicle computing device, such as in-vehicle computing device 102, and the destination computing device 505 may be a remote teleoperator computing device, such as remote teleoperator computing device 104. For example, the interactions illustrated in FIG. 5 may be used to establish a session for an internal camera stream.

To initiate the multipath transport session an application at the multipath translator 503 may trigger a streaming session at operation 502. For example, a remote teleoperator scenario may be determined to be occurring, and in response the streaming session may be triggered. The triggering of the streaming session may cause the multipath translator 503 to send a SIP invite with SDP offer for the session to the destination computing device 505. The destination computing device 505 may assign dedicated resources to the transport session as needed in operation 506. At operation 510 the multipath translator 503 may establish VPN tunnels for interfaces not already established, for example a second and third interface. The multipath translator 503 may make the IP address, e.g., a public IP address, of the destination computing device 505 known on all VPN interfaces in operation 504. The multipath translator 503 (and/or peer device) may send the SDP with the MPRTP extension to the destination computing device 505 and the destination computing device 505 may respond acknowledging receipt of the SDP. The destination computing device 505 may configure a load balancer to forward received traffic as needed in operation 508.

The multipath translator 503 may acknowledge the transport session to the destination computing device 505, which may begin the transport session. The multipath translator 503 may then send the MPRTP subflows to the destination computing device 505. In operation 512, the destination computing device 505 may determine to close the connection, for example because sufficient video may have been received, and may send a close message to the multipath translator 503. The multipath 503 may respond with a 200 OK message and close the transport sessions for the various MPRTP subflows.

FIG. 6 is a call flow diagram illustrating interactions between a source computing device 601, multipath translator 603, and destination (or client) computing device 605 to establish a multipath transport session, such as an MPRTP transport session according to an embodiment. For example, the source computing device 601 may be an autonomous driving system, telematics unit, vehicle control system, etc. of a vehicle, such as vehicle 112, the multipath translator 603 may be an in-vehicle computing device, such as in-vehicle computing device 102, and the destination computing device 605 may be a remote teleoperator computing device, such as remote teleoperator computing device 104. For example, the interactions illustrated in FIG. 6 may be used to establish a session for an external camera stream. To initiate the multipath transport session an application at the source computing device 601 may trigger a streaming session at operation 602. For example, a remote teleoperator scenario may be determined to be occurring, and in response the streaming session may be triggered. The triggering of the streaming session may cause the source computing device 601 to send a SIP invite with SDP offer for the session to the translator interface of the multipath translator 603. In response to receiving the SIP invite, the multipath translator 603 may send IP port requests from each of its IP stacks a, b, and c to the destination computing device 605. The destination computing device 605 may send port responses to the IP stacks a, b, and c of the multipath translator 603.

Once the IP port requests are resolved (604), the multipath translator 603 may modify the SDP received from the source computing device 601 to reflect the IP address for the destination computing device 605 and any other information needed for the MPRTP transport session between the multipath translator 603 and the destination computing device 605. If the IPSec tunnels on the less preferred interfaces are not pre-established, then the multipath translator 603 may establish these VPN tunnels before modifying the SDP since the IP addresses on the VPN may be required to be able to issue the SDP. The multipath translator 603 may send the modified SDP with the MPRTP extension to the destination computing device 605 and the destination computing device 605 may respond acknowledging receipt of the SDP. The multipath translator 603 may reply to the source computing device 601 acknowledging receipt of the SDP in response to receiving acknowledgment from the destination computing device 605.

The source computing device 601 may acknowledge the transport session and begin the RTP flow to the multipath translator 603. The multipath translator 603 may acknowledge the transport session to the destination computing device 605, which may begin the transport session using a call flow mechanism according to a user preference 606. The multipath translator 603 may then send the MPRTP subflows to the destination computing device 605.

FIG. 7 illustrates a delivery chain 700 of media streams within multipath source/translators, such as multipath translators 102, 202, 305, 404, 503, and/or 603 described above. As an example, the multipath source/translator may be an MPRTP translator. Each modem 1, 2, and 3 may periodically provide the observed bit rate and the queue size on its modem control (MC) interface to the traffic scheduler(s) at the multipath source/translator. As an example, RTCP feedback may provide overall end-to-end statistics. Multipath feedback, such as MPRTP feedback, may provide per path end-to-end statistics. Based on the received statistics, the traffic scheduler(s) may distribute packets, such as RTP packets, onto subflows on the available interfaces. As illustrated in FIG. 7, remote teleoperator associated streams 1 through M, such as RTP streams of media or other data (e.g., video data, audio data, sensor data, control commands, etc.), may be sent to the traffic schedulers and on to the modems 1, 2, and 3. Each modem may communicate with a different operator network 1, 2, and 3, such as eNode B's of different service provider run LTE networks. The operator networks 1, 2, and 3 may form pathways through the delivery cloud to provide the multipath streams, such as MPRTP streams, to the multipath destination device, such as a server or other remote teleoperator computing device. The multipath streams, such as MPRTP streams, may arrive at a resequencing buffer of the destination computing device and be output for playback (or other utilization) at the destination computing device. For example, the remote teleoperator associated streams 1 through M may be used by a remote teleoperator 110 to control the vehicle 112. In various embodiments, the schedulers may be a plurality of distributed schedulers, such as 2, 3, 4, or more schedulers, and the scheduling parameters may be determined using inter-process communication. Each scheduler of the plurality of packet schedulers may operate on a single stream, such that scheduling may be handled on a per-stream basis.

In various embodiments, every packet stream sent to its respective one of the plurality of schedulers, such as 2, 3, 4, or more schedulers, may be a stream of packets (e.g., a video stream from a camera, data stream from a sensor, etc.), such as an RTP stream of packets. The aggregate traffic received at the plurality of schedulers may conform to a leaky bucket model described by a leaky bucket envelope of (σ, ρ) where σ is a burst size and ρ is a flow rate. The MC (or MN) interface may return the available delivery rate estimate (R) and queue size (Q) on each interface between any one of the schedulers and the plurality of modems the scheduler may assign packets to for transport. RTCP may provide end to end statistics, such as a delivery rate for a path (r), end to end delay for a path, loss for a path (loss), etc. The schedulers may allocate traffic on a per stream basis, and the schedulers for each stream (i.e., sub-stream schedulers or sub-stream traffic allocators) may communicate among one another.

FIG. 8 illustrates packet level interactions 800 between a packet scheduler and modems 1, 2, and 3 according to various embodiments. The packet scheduler and modems 1, 2, and 3 may be a scheduler and modem of a multipath source/translator, such as multipath translators 102, 202, 305, 404, 503, and/or 603 described above. The packet scheduler may be one of a plurality of packet schedulers, such as two, three, four, or more packet schedulers assigning packets to the modems 1, 2, and 3 on a per-stream basis. Incoming packets may be distributed to the modems for delivery. The stream S_(i) may be split into sub-streams S_(i1), S_(i2), . . . , S_(in), where n is the number of modems available to the traffic scheduler, such as 3 modems. The traffic scheduler may take into account all available information and various levels of information sharing may occur between the RTP and MPRTP layers (or stacks), other traffic schedulers, the modems 1, 2, and 3, and the destination MPRTP device. In various embodiments, the modems 1, 2, and 3 may report their respective modem queue levels to the packet schedule via MC (or MN) interface feedback. For example, the modems 1, 2, and 3 may report their queue size (Qn) and transmission rate (Rn) as feedback on the MC (or MN) interface. The packet scheduler may assign incoming packets to the modems 1, 2, and 3 based at least in part on the queue size and transmission rates for the modems 1, 2, and 3. In various embodiments, the scheduler may rely on rate and queue level feedback from the modems. In various embodiments, the scheduler may derive the leaky bucket parameters of each sub-stream, based on rate level feedback from the modem. In various embodiments, an outer-loop scheduler may monitor end-to-end congestion beyond the air interface. The rates per interface may be reduced to accommodate network congestion. In various embodiments, the scheduler may minimize the packet delay based on its knowledge of the leaky bucket level, rate and fixed delay on each subflow.

In various embodiments, in response to determining leaky bucket parameters (e.g., leaky bucket level ((L) or (LeakyBucketLevel)), burst size (σ), flow rate (ρ), etc.) per subflow, packet scheduling may be handled on a per stream basis based at least in part on delivery delay estimations. In various embodiments, the delivery delay estimations may be based on a leaky bucket level, burst sizes, delivery rates, and/or end to end delay estimates. In various embodiments, packets may be assigned to a modem following packet arrival by updating leaky bucket levels by draining ρ_(ji)*(elapsed time since last packet) from the bucket level on each subflow, assigning the packet to a bucket providing lowest delivery delay (for example, by selecting the bucket having the minimum result for the equation (PacketSize+LeakyBucketLevel_(ji))/ρ_(ji)+f_(i), where f is the fixed delay. The scheduler may prioritize conforming paths, i.e. paths for which LeakyBucketLevel_(ji)<LeakyBucketSize_(ji), and update the Leaky Bucket level of chosen subflow by adding the packet size to its level.

In various embodiments, a scheduler may receive per path statistics through the MC (or MN) interface and/or through subflow path reporting. In various embodiments, modems may provide their available rates and queue sizes through the MC (or MN) interface. In various embodiments, the MPRTP stack may determine an estimate of the round-trip delay based on the exchange of sender and receiver RTCP reports with the destination MPRTP device. A subflow receiver report (SRR) may be sent from the destination MPRTP device including a reference to the last subflow sender report (SSR) received by the destination MPRTP device, and an indication of the delay between the reception of said subflow sender report (SSR) and the generation of the subflow receiver report (SRR) at the destination MPRTP device (i.e., SRR generation delay). The MPRTP translator may keep track of the generation time of the subflow sender report (SSR) (i.e., the SSR Tx time) and the receipt time of the subflow receiver report (SRR) (i.e., the SRR Rx time). Once the subflow receiver report (SRR) is received at the MPRTP translator, the MPRTP translator may determine a round trip time (RTT) estimate on the path on which the subflow sender report (SSR) and subflow receiver report (SRR) were exchanged according to the equation RTT=(SRR Rx time)−(SRR generation delay)−(SSR Tx time). In various embodiments, the MPRTP translator may use knowledge of the path rate (Ri) and current queue length (Qi) to enhance the estimate according to the equation RTT =((SRR Rx time)−(Qi/Ri at SRR generation)−(SRR generation delay)−(SSR Tx time)), where the SRR generation time may be determined by subtracting the SSR generation delay from a SRR Tx time. To get the best estimate of queue length (Qi), SRR may be on path i after receiving a MC (or MN) report for that path.

FIG. 9 is a call flow diagram illustrating a sender and receiver exchange of a SSR and SRR between a multipath source/translator 903 and destination (or client) computing device 905. The multipath source/translator 903 may be an in-vehicle computing device, such as in-vehicle computing device 102, and the destination (or client) computing device 905 may be a remote teleoperator computing device, such as remote teleoperator computing device 104. At some point after the MPRTP subflows are established a subflow sender report (SSR) may be sent in operation 907 and the sending time recorded by the multipath source/translator 903. In operation 908, the destination (or client) computing device 905 may determine the time difference between receiving the SSR and sending the subflow sender report (SRR) and include that time difference in the SRR. The multipath source/translator 903 may receive the SRR and based on the SRR receipt time and the time different between receiving the SSR and sending the SRR in the SRR determine the round trip delay (or end to end delay) in operation 910.

FIG. 10A illustrates an embodiment method 1000 for scheduling multipath transmissions, such as MPRTP transmissions. In various embodiments, the operations of method 1000 may be performed by a scheduler running on a processor of an in-vehicle computing device, such as in computing devices 102 (FIGS. 1A and 1B), 202 (FIG. 2), 305 (FIG. 3), 404 (FIGS. 4A and 4B), 503 (FIG. 5), 603 (FIG. 6), 903 (FIG. 9). In various embodiments, the scheduler may be one of a plurality of schedulers, such as 2, 3, 4, or more schedulers, assigning packets to a plurality of modems, such as 2, 3, 4, or more modems, on a per-stream basis.

In determination block 1002, the scheduler of the in-vehicle computing device may determine whether a scenario for multipath data transport is occurring. For example, the scheduler of the in-vehicle computing device may determine whether a scenario for remote teleoperation is occurring which may be a scenario for multipath data transmission. A scenario for remote teleoperation may be a situation involving variable and/or random characteristics that the vehicle computing device or another computing device within the vehicle recognizes as potentially benefiting from remote teleoperation by a remote teleoperator. For example, the high variability and potential randomness in the operations of the police officer 115 and the truck 114 in the merging scenario described with reference to FIG. 1A may be such that the autonomous control algorithms may not be capable of ensuring safe control the vehicle 112 in the scenario. The vehicle computing device or another computing device within the vehicle may recognize the scenario, for example by image detection recognizing the presence of the police officer 115, and the detection of the police officer 115 may be a trigger indicating a scenario for remote teleoperation is occurring. As another example, the scheduler of the in-vehicle computing device may determine whether a scenario for car-to-car mapping is occurring appropriate for multipath data transmission. Car-to-car mapping may benefit from the transmission of data from the vehicle, such as vehicle 112, to another vehicle, such as truck 114, to enable the two vehicles to benefit from all or a portion of the same sensor data map, e.g., a LIDAR image of the vehicle vicinity. Further examples of scenarios for multipath data transmission that the scheduler of the in-vehicle computing device may recognize include: a scenario in which the transport of on vehicle sensor data (e.g., tachometers, accelerometers, etc.) may be required to remote vehicle diagnostic services; a scenario in which the transport of vehicle camera images to other vehicles may be needed to alert those other vehicles of traffic patterns; and a scenario in which the transport of sensor data or camera images to other vehicles or traffic monitoring services to report the status of traffic control equipment may be needed (e.g., whether a traffic light is green or red, whether a traffic light is working or disabled, the posted speed limit for a road as indicated by a highway sign, etc.).

In response to determining that a scenario for multipath data transport is occurring (i.e., determination block 1002=“Yes”), the scheduler of the in-vehicle computing device may activate a plurality of modems for supporting multipath data transport in block 1004. The plurality of modems may include two, three, four, or more modems. The plurality of modems may be different modems, such as different LTE modems. Each of the plurality of modems may be configured to establish connections via different service providers. Upon activation, each of the plurality of modems may establish its own respective different delivery path through the delivery cloud to a remote teleoperator computing device, such as computing device 104 (FIGS. 1A and 1B), 204 (FIG. 2), 302 (FIG. 3), 505 (FIG. 5), 605 (FIGS. 6), and 905 (FIG. 9). The different delivery paths may each be separate delivery paths through the delivery cloud routed from distinct IP addresses of the in-vehicle computing device to one or more IP addresses of the remote teleoperator computing device. For example, each of the activated plurality of modems may have its own delivery path with a unique IP address for the in-vehicle computing device side while all delivery paths may have the same IP address for the remote teleoperator computing device side. As another example, in remote scenarios, the remote teleoperator computing device side may have multiple IP addresses, each valid on a different delivery network. In various embodiments, each of the plurality of modems and their respective delivery paths may be assigned different priorities, such as one delivery path being prioritized over the other delivery paths. Delivery paths may be prioritized relative to one another based on one or more path attributes associated with the delivery paths, such as cost, bandwidth, quality-of-service (QoS), etc.

In block 1006, the scheduler of the in-vehicle computing device may receive a packet for transport, such as a packet carrying data supporting remote teleoperation. Data supporting remote teleoperation may include data generated by cameras, sensors, or other systems of a vehicle to be used by a remote teleoperator to control the vehicle. The data may be packetized and received from encoders or other signal processing devices for transport to remote teleoperator computing device. For example, the packet may be a packet of various RTP streams for transport, such as media streams received from encoders, for transport to a backend server or other remote teleoperator computing device via multipath transmissions.

In block 1008, the scheduler of the in-vehicle computing device may determine delivery delays associated with a plurality of modems based at least in part on leaky bucket levels associated with each modem. As discussed above, in various embodiments, the scheduler of the in-vehicle computing device may receive indications of per path statistics for delivery paths associated with each available modem, such as 2, 3, 4, or more modems available for transport. In various embodiments, a scheduler of an in-vehicle computing device may receive per path statistics through the MC (or MN) interface and/or through subflow path reporting. In various embodiments, modems may provide their available delivery rates and queue sizes through the MC (or MN) interface. In various embodiments, the scheduler of the in-vehicle computing device may be configured to determine the leaky bucket burst and rate for each subflow. In various embodiments, the delivery delays may be based at least in part on one or more of leaky bucket levels, burst sizes for each path, delivery rates for each path, queue sizes for each of the plurality of modems, and end to end delay estimates for each of the plurality of modems. In various embodiments, the leaky bucket levels may be determined on a per stream basis. In various embodiments, the leaky bucket levels may be determined and adjusted based at least in part on queue feedback from the plurality of modems.

In various embodiments, the scheduler of the in-vehicle computing device may determine a delivery delay associated with one of a plurality of modems (i) based at least in part on the delivery rate estimate for the modem (Ri), the leaky bucket level (LeakyBucketLevel), fixed end to end delay estimate (fixed_end_to_end_delay_estimate), and packet size (PS). For example, the scheduler of the in-vehicle computing device may determine the delivery delay as the packet size (PS) of the packet plus leaky bucket level (LeakyBucketLevel) divided by the delivery rate estimate for the modem (Ri) plus the fixed end to end delay estimate (fixed_end_to_end_delay_estimate) for the delivery path associated with the modem (i.e., delivery delay=((PS+LeakyBucketLevel)/Ri)+fixed_end_to_end_delay_estimate). A packet size (PS) may be determined based in the RTP payload of the packet and header size information of the packet. A delivery rate estimate for the modem (Ri) may be determined from reports received via the MC (or MN) interface and/or through subflow path reporting. An end to end delay estimate (fixed_end_to_end_delay_estimate) may be determined according to the operations discussed above with reference to FIGS. 8 and 9. In various embodiments, queue size feedback from each modem (Qi) may be used to adjust leaky bucket levels.

In block 1010, the scheduler of the in-vehicle computing device may assign the packet to the one of the plurality of modems based at least in part on the determined delivery delays. In various embodiments, the scheduler of the in-vehicle computing device may assign the packet to the one of the plurality of modems based at least in part on the determined delivery delays by assigning the packet to the modem with the lowest delivery day among the plurality of delivery delays. In this manner, by comparing the delivery delays determined for each of a plurality of modems, such as 2, 3, 4, or more modems, the scheduler of the in-vehicle computing device may minimize the delay expected to be experienced in sending the packet at the time the packet is scheduled. In various embodiments, leaky bucket levels may be updated when the packet is assigned by adding the packet size to the leaky bucket level. In various embodiments, queue size feedback from each modem (Qi) may be used to further adjust leaky bucket levels.

In various embodiments, the scheduler of the in-vehicle computing device may further assign packets for transport based on delivery delays and path priorities associated with the plurality of modems. For example, as discussed above, delivery paths for the available modems, such as modems 1, 2, and 3, may be associated with different priorities based on one or more path attributes such as cost of using delivery paths, bandwidth of delivery paths, QoS of delivery paths, etc. The scheduler of the in-vehicle computing device may account for those relative priorities when assigning packets for transport. For example, one delivery path may be the highest priority path (e.g., due to lowest cost), and the scheduler of the in-vehicle computing device may determine whether the delivery delay of the modem of that path is above a delay threshold (e.g., 0.2 seconds). In response to determining the delivery delay is below the delay threshold, the scheduler of the in-vehicle computing device may assign the packet to that modem. In response to determining the delivery delay is at or above the delay threshold, the scheduler of the in-vehicle computing device may assign the packet to the modem with the lowest delivery delay. In this manner, as long as delivery delay for the highest priority path is below the delay threshold, packets may be biased to the modem of the highest priority path. Additionally, paths may be prioritized based on relative leaky bucket levels. For example, paths may be prioritized such that a path with a leaky bucket level below its maximum leaky bucket size may be prioritized over a path with a leaky bucket level at or above its leaky bucket size.

In response to assigning the packet to a modem, the scheduler of the in-vehicle computing device may return to block 1002 and determine again whether a scenario for multipath data transport is occurring. In response to determining that a scenario for multipath transport is not occurring (i.e., determination block 1002=“No”), the scheduler of the in-vehicle computing device may deactivate redundant modems in block 1012. Deactivating redundant modems may include deactivating all or a portion of the modems. For example, all but the modem associated with a highest priority path may be deactivated. As another example, all the modems may be deactivated. By deactivating redundant modems, computing resources and/or power may be conserved and costs associated with maintaining unneeded delivery paths may be avoided.

FIGS. 10B and 10C illustrate example leaky bucket filling examples for allocating burst sizes to the N paths. As illustrated in FIGS. 10B and 10C, assuming that the bandwidth and fixed delay of each path is known a traffic allocation may be determined that minimizes end to end delay. The aggregate traffic generated by the input streams may be described by a leaky bucket envelope (σ_(total),ρ_(total)). Each path i has capacity R_(i) and fixed delay f_(j) (assume the paths indices are ordered in terms of the fixed paths delays such that f₁<f₂<. . . <f_(max)). The minimum number of paths N with the lowest fixed delay such that ρ is smaller than ΣR_(j) where 1<=j<=N may be determined. Assuming each bucket is pre-filled with the fixed delay of the path f_(i), and has width R_(i), then water filling may be used to determine the burst size S_(i) to allocate to each path. The water filling approach may ensure a maximum delay on all paths for which a burst is allocated. The maximum delay on each path on which a burst is allocated may be: D=f_(i)+S_(i)/R_(i). FIGS. 10B and 10C show two water filling examples for allocating the burst sizes to the N paths. In FIG. 10B, the water filling level may ensure that a burst size is allocated to every path. In FIG. 10C, some paths may not be allocated any burst size. In practice, traffic may be allocated to all the other paths that have a non-zero burst size before traffic may be allocated to the path with no burst.

In various embodiments, a scheduler of an in-vehicle computing device may partition traffic according to leaky bucket parameters of the incoming packet stream. Consider N paths accommodating an aggregate traffic that fits in a leaky bucket envelope (σ_(total),ρ_(total)). The water filling level D may be determined such that σ_(total)=ΣS_(i) and, S_(i)=R_(i)(D−f_(i)) for all paths (I). Thus, σ_(total)=ΣR_(i)(D−f_(i)) and D may be solved for according to D=(σ_(total)+ΣR_(i)f_(i))/(ΣR_(i)). Once D is determined, all the S_(i) are known based on the equation S_(i)=R_(i)(D−f_(i)) for all paths (I) noted above. The equations above are applicable to all the paths where S_(i) is greater than since the common level D does not make sense for a path with two high of a delay f_(i). Allocating burst sizes to paths may be a progressive process. First the paths may be ordered from the one with the smallest end-to-end delay estimate to the one with the highest. The bursts may be allocated to 1, then 2, then k paths until the water level is below the fixed path delay of the next path, or the maximum number of paths is used.

FIG. 11 illustrates an embodiment method 1100 for allocating burst sizes to paths. In various embodiments, the operations of method 1100 may be performed by a scheduler running on a processor of an in-vehicle computing device, such as in computing devices 102 (FIGS. 1A and 1B), 202 (FIG. 2), 305 (FIG. 3), 404 (FIGS. 4A and 4B), 503 (FIG. 5), 603 (FIG. 6), 903 (FIG. 9). In various embodiments, the operations of method 1100 may be performed in conjunction with the operations of method 1000 (FIG. 10A), method 1200 (FIG. 12), method 1300 (FIG. 13), and/or method 1400 (FIG. 15). In various embodiments, the scheduler of the in-vehicle computing device may be one of a plurality of schedulers, such as 2, 3, 4, or more schedulers, assigning packets to a plurality of modems, such as 2, 3, 4, or more modems, on a per-stream basis.

In block 1102 the scheduler of the in-vehicle computing device may update the rates Ri and/or update the end to end delay estimates fi. In various embodiments, end to end delay may be assumed to be the same on all paths initially, and then continuously updated per path. In block 1104 the scheduler of the in-vehicle computing device may order the paths from the one with the smallest end-to-end delay estimate to the one with the highest and set k equal to 1. In various embodiments, the rate per path may be based on MC (or MN) feedback and delay per path based on RTCP feedback.

In block 1106 the scheduler of the in-vehicle computing device may allocate burst sizes to paths 1 to k. In various embodiments, burst sizes may be determined based on stream allocations as discussed below with reference to FIG. 12. In determination block 1108 the scheduler of the in-vehicle computing device may determine whether the delay is less than the fixed delay of path k+1. In response to determining that the delay is less than the fixed delay of path k+1 (i.e., determination block 1108=“Yes”), the scheduler of the in-vehicle computing device may allocate bursts to one more path K=k+1 in block 1110 and the scheduler of the in-vehicle computing device may allocate burst sizes to paths 1 to k in block 1106.

In response to determining that the delay is less than the fixed delay of path k+1 (i.e., determination block 1108=“Yes”), the scheduler of the in-vehicle computing device may allocate burst sizes of zero to remaining paths in block 1111. In block 1112 the scheduler of the in-vehicle computing device may assign sub-flow bursts in proportion to σj. In block 1113 the scheduler of the in-vehicle computing device may assign sub-flow rates in proportion to the Rj. In various embodiments, the rate and burst size may be split for each sub-flow such that the aggregate rate and burst size are equal to the allocated burst sizes to the encoder providing the stream. In block 1114 the scheduler of the in-vehicle computing device may assign all sub-flows their rate and burst size.

In various embodiments, the scheduler of the in-vehicle computing device may allocate rates and bursts per source. Each source may be described by a leaky bucket with parameters (σ_(i),ρ_(i)). The goal may be to specify for each source the leaky bucket parameters (σ_(ij),ρ_(ij)) for each subflow. In various embodiments, R_(j)=Σρ_(ij), and S_(j)=Σσ_(ij) where (i,j) indicates the subflow of stream j on path I and one way of allocating the rates and burst sizes among the flows may be in proportion to the original rates and burst sizes, i.e. ρ_(ij)=ρ_(j)R_(i)/(Σρ_(j)) and, σ_(ij)=σ_(j)S_(i)/(Σσ_(j)).

FIG. 12 is a process flow diagram illustrating an embodiment method for adjusting media generation rates. In various embodiments, the operations of method 1200 may be performed by a scheduler running on a processor of an in-vehicle computing device, such as in computing devices 102 (FIGS. 1A and 1B), 202 (FIG. 2), 305 (FIG. 3), 404 (FIGS. 4A and 4B), 503 (FIG. 5), 603 (FIG. 6), 903 (FIG. 9). In various embodiments, the operations of method 1200 may be performed in conjunction with the operations of method 1000 (FIG. 10A), method 1100 (FIG. 11), method 1300 (FIG. 13), and/or method 1400 (FIG. 15). In various embodiments, the scheduler of the in-vehicle computing device may be one of a plurality of schedulers, such as 2, 3, 4, or more schedulers, assigning packets to a plurality of modems, such as 2, 3, 4, or more modems, on a per-stream basis.

In block 1202 the scheduler of the in-vehicle computing device may update delivery rate estimates for the modems available. For example, delivery rate estimate R_(i) may equal the min(R_(i)*, Rate reported by MC (or MN)) for each path i. For the purpose of rate control, the rate may be reduced by the estimate of header overhead according to the equation R_(i)=min(R_(i)*, Rate reported by MC (or MN))*(1−H_(i)/PS), where PS is the payload in use and is assumed to be 1280 bytes and, H_(i) is the header size which includes the header size for the VPN headers, and those of the IPSec headers. In block 1204 the scheduler of the in-vehicle computing device may determine the overall available bandwidth, the current bandwidth being used, the bandwidth needed by the total cameras, and the bandwidth needed by all the cameras, the bandwidth needed by the internal cameras, and the bandwidth needed by the external cameras. For each source r_(j), the scheduler of the in-vehicle computing device may store the following two values: ρ_(j) (the average rate reported in the SDP for source j) and r_(j) (the rate fed back to the source previously). The scheduler of the in-vehicle computing device may initialize all r_(j) to ρ_(j). The scheduler of the in-vehicle computing device may calculate the aggregate bandwidth needed to serve all the cameras at the desired rate according to BW_Agg_Camera_Total=Σ_(j=1 . . . M) (ρ_(j)), where M is the number of sources. The scheduler of the in-vehicle computing device may calculate the aggregate bandwidth needed to serve the external cameras at the desired rate according to BW_Agg_Camera_Ext=Σ_(j=1 . . . M) (ρ_(j)), where K is the number of external sources, 1 . . . K are the external sources, and K+1 . . . M are the internal sources. The scheduler of the in-vehicle computing device may calculate the aggregate bandwidth needed to serve the external cameras at the desired rate according to BW_Agg_Camera_Int=Σ_(j=(K+1) . . . N) (ρ_(j)). The scheduler of the in-vehicle computing device may calculate the aggregate bandwidth needed to serve the cameras at the current calculated rate BW_Current=Σ_(j=1 . . . M) (r_(j)) and calculate the aggregate available bandwidth BW_Available=Σ_(i=1 . . . N) (R_(i)), where Ri is the rate estimate for path i according to the scheduling algorithm and N is the number of paths.

In determination block 1206 the scheduler of the in-vehicle computing device may determine whether the current bandwidth being used is higher than the available bandwidth. In response to determining that the current bandwidth being used is not higher than the available bandwidth (i.e., determination block 1206=“No”), the scheduler of the in-vehicle computing device may determine whether the current bandwidth being used is less than the 0.8 of the available bandwidth in determination block 1208. In response to determining that the current bandwidth being used is less than the 0.8 of the available bandwidth (i.e., determination block 1208=“Yes”), the process may complete in block 1210 as no update to the current rates may be needed.

In response to determining that the current bandwidth being used is not higher than the available bandwidth (i.e., determination block 1206=“No”) or the current bandwidth being used is less than the 0.8 of the available bandwidth (i.e., determination block 1208=“Yes”), the scheduler of the in-vehicle computing device may set the bandwidth target to 0.9 of the bandwidth available in block 1212. In determination block 1214 the scheduler of the in-vehicle computing device may determine whether the bandwidth target is greater than or equal to the bandwidth needed by all the cameras. In response to determining that the bandwidth target is greater than or equal to the bandwidth needed by all the cameras (i.e., determination block 1214=“Yes”), the scheduler of the in-vehicle computing device may set, in block 1218, all rates for the encoders to the average rate reported in the SDP r_(j)=ρ_(j) and set ρ_(ji)=r_(j)*Ri/BW_Available.

In response to determining that the bandwidth target is less than the bandwidth needed by all the cameras (i.e., determination block 1214 =“No”), the scheduler of the in-vehicle computing device may determine whether the bandwidth target is greater than or equal to the bandwidth of the external cameras in determination block 1216. In response to determining that the bandwidth target is greater than or equal to the bandwidth of the external cameras (i.e., determination block 1216=“Yes”), the scheduler of the in-vehicle computing device may adjust the rates in block 1220 for internal and external cameras. For example, the scheduler of the in-vehicle computing device may set all r_(j)=ρ_(j) for j<=K and set all r_(j)=(BW_Target—BW_Agg_Camera_Ext)* ρ_(j)/BW_Agg_Camera_Int for j>K and set ρ_(ji)=r_(j)*Ri/BW_Available.

In response to determining the bandwidth target is greater less than the bandwidth of the external cameras (i.e., determination block 1216=“No”), the scheduler of the in-vehicle computing device may set the rates of the internal cameras to zero and adjust the rates of the external cameras in block 1222. For example, the scheduler of the in-vehicle computing device may set all r_(j)=BW_Target*ρ_(j)/BW_Agg_Camera_Ext for j<=K and set all r_(j)=0 for j>K and set ρ_(ji)=r_(j)*Ri/BW_Available. In block 1224 the scheduler of the in-vehicle computing device may provide feedback to the sources whose rate has changed.

FIG. 13 illustrates an embodiment method 1300 for assigning flow and burst rates to sub-flows. In various embodiments, the operations of method 1300 may be performed by a scheduler running on a processor of an in-vehicle computing device, such as in computing devices 102 (FIGS. 1A and 1B), 202 (FIG. 2), 305 (FIG. 3), 404 (FIGS. 4A and 4B), 503 (FIG. 5), 603 (FIG. 6), 903 (FIG. 9). In various embodiments, the operations of method 1300 may be performed in conjunction with the operations of method 1000 (FIG. 10A), method 1100 (FIG. 11), method 1200 (FIG. 12), and/or method 1400 (FIG. 15). In various embodiments, the scheduler of the in-vehicle computing device may be one of a plurality of schedulers, such as 2, 3, 4, or more schedulers, assigning packets to a plurality of modems, such as 2, 3, 4, or more modems, on a per-stream basis.

In block 1302 the scheduler of the in-vehicle computing device may obtain input rate, input burst size, rates and delay per path. In block 1304 the scheduler of the in-vehicle computing device may determine the rate Rj and burst size Sj per path. For example, for N paths accommodating an aggregate traffic that fits in a leaky bucket envelope (σ,ρ), the water filling level D may be determined such that σ=ΣS_(j) and S_(j)=R_(j)(D−f_(j)) for all j, i.e., σ=ΣR_(j)(D−f_(j)). D may be solved for according to the equation D=(σ+ΣR_(j)f_(j))/(ΣR_(j)), and all the S_(j) are known based on the equation S_(j)=R_(j)(D−f_(j)). R_(j)=Σρ_(ij), and S_(j)=Σσ_(ij) where (i,j) indicates the subflow of stream i on path j.

In block 1306 the scheduler of the in-vehicle computing device may assign flow rates ρ_(ij) in proportion to the ρ_(i) and assign subflow burst sizes σ_(ij) in proportion to the σ_(i). For example, the scheduler of the in-vehicle computing device may asign flow rates ρij in proportion to the ρi such that ρ_(ij)=ρ_(i)R_(j)/(Σρ_(i)) and assign subflow burst sizes σ_(ij) in proportion to the σ_(i) such that σ_(ij)=σ_(i)S_(j)/(Σσ_(i)).

FIG. 14 illustrates feedback interactions between schedulers and modems in a vehicle according to various embodiments. In various embodiments, modems may also provide queue size feedback. The leaky bucket level L_(ji) at each stream j may be the estimated contribution of this stream to the queue level Q_(i) on path i. Thus, at any time Σ_(j=1 . . . M) L_(ji) for a fixed i is an estimate of Q_(i). Queue size feedback may be used to adjust the leaky bucket levels at the streams. In various embodiments, a centralized parameter calculator can collect the current leaky bucket levels, and correct them to reflect the actual modem queue sizes. For example, in response to receiving a Qi update, the calculator may collect the L_(ji) for j=1 . . . M, and feed back to the streams the adjusted leaky bucket levels L_(ji adj)=L_(ji)*Q_(i)/ΣL_(ji). In various embodiments, the centralized parameter calculator may be one of a plurality of schedulers of the in-vehicle computing device. In various embodiments, the centralized parameter calculator may be a module in communication with one or more of a plurality of schedulers of the in-vehicle computing device.

FIG. 15 illustrates an embodiment method 1400 for adjusting delivery rate estimates based on error detections. In various embodiments, the operations of method 1400 may be performed by a scheduler running on a processor of an in-vehicle computing device, such as in computing devices 102 (FIGS. 1A and 1B), 202 (FIG. 2), 305 (FIG. 3), 404 (FIGS. 4A and 4B), 503 (FIG. 5), 603 (FIG. 6), 903 (FIG. 9). In various embodiments, the operations of method 1400 may be performed in conjunction with the operations of method 1000 (FIG. 10A), method 1100 (FIG. 11), method 1200 (FIG. 12), and/or method 1300 (FIG. 13). In various embodiments, the scheduler of the in-vehicle computing device may be one of a plurality of schedulers, such as 2, 3, 4, or more schedulers, assigning packets to a plurality of modems, such as 2, 3, 4, or more modems, on a per-stream basis.

In block 1402 the scheduler of the in-vehicle computing device may determine a delivery rate estimate. In various embodiments, the scheduler of the in-vehicle computing device may determine the delivery rate estimate based on path statistics delivered through the MC (or MN) interface and/or through subflow path reporting for an available modem. Path statistics may include a reported delivery rate estimate. In various embodiments, the delivery rate estimate may be a delivery rate estimate the scheduler of the in-vehicle computing device adjusted by a percentage to ensure that bandwidth was available on a modem for use in transporting other traffic.

In determination block 1404, the scheduler of the in-vehicle computing device may determine whether an error is detected associated with the path for the modem. In various embodiments, errors may be detected by the scheduler of the in-vehicle computing device receiving an error report from the modem, or from reports received from the peer device. In response to determining no error is detected (i.e., determination block 1404 =“No”), the scheduler of the in-vehicle computing device adjust the delivery rate estimate up in block 1407 and may return to block 1402 to determine a next delivery rate estimate. For example, when errors are not detected in a reporting period, the error factor may be increased by adding a percentage point to the error factor. In an embodiment, the scheduler of the in-vehicle computing device may update the delivery rate estimate according to fixed equations. As another example, when no error is detected the rate may be increased by a fixed percentage. In various embodiments, when the rate is at 100%, no further upward adjustment may be performed. In various embodiments, delivery rate adjustments may be made every round trip time.

In response to determining an error is detected (i.e., determination block 1404=“Yes”), the scheduler of the in-vehicle computing device may adjust the delivery rate estimate in block 1406. Adjusting the delivery rate estimate may occur in an outer-loop processes that occurs in parallel to receiving and assigning packets by the scheduler of the in-vehicle computing device. In an embodiment, the scheduler of the in-vehicle computing device may update the delivery rate estimate based on an error factor. For example, the updated delivery rate estimate may be determined based on the current delivery rate estimate times the error factor. The error factor may start at 100%. When an error is detected, the error factor may be reduced by half. In an embodiment, the scheduler of the in-vehicle computing device may update the delivery rate estimate according to fixed equations. For example, when an error is detected, the rate may be divided by half. In various embodiments, the scheduler of the in-vehicle computing device may select between the reported delivery rate estimate from the modem and the adjusted delivery rate estimate when determining a delivery delay. For example, the scheduler of the in-vehicle computing device may select the lower delivery rate estimate of the two when assigning packets.

The various embodiments (including, but not limited to, embodiments discussed above with reference to FIGS. 1-15) may be implemented in any of a variety of the computing devices (e.g., mobile devices), an example of which is illustrated in FIG. 16. For example, the mobile device 1500 may include a processor 1501 coupled to a touch screen controller 1504 and an internal memory 1502. The processor 1501 may be one or more multicore integrated circuits (ICs) designated for general or specific processing tasks. The internal memory 1502 may be volatile or non-volatile memory, and may also be secure and/or encrypted memory, or unsecure and/or unencrypted memory, or any combination thereof. The touch screen controller 1504 and the processor 1501 may also be coupled to a touch screen panel 1512, such as a resistive-sensing touch screen, capacitive-sensing touch screen, infrared sensing touch screen, etc. The mobile device 1500 may have one or more radio signal transceivers 1508 (e.g., Peanut®, Bluetooth®, Zigbee®, Wi-Fi, RF, cellular, etc.) and antennae 1510, for sending and receiving, coupled to each other and/or to the processor 1501. The transceivers 1508 and antennae 1510 may be used with the above-mentioned circuitry to implement the various wireless transmission protocol stacks and interfaces. The mobile device 1500 may include one or more cellular network wireless modem chips 1516, such as one cellular network wireless modem chip, two cellular network wireless modem chips, three cellular network wireless modem chips, four cellular network wireless modem chips, or more than four cellular network wireless modem chips, that enables communication via one or more cellular networks and that are coupled to the processor.

The mobile device 1500 may include a peripheral device connection interface 1518 coupled to the processor 1501. The peripheral device connection interface 1518 may be singularly configured to accept one type of connection, or multiply configured to accept various types of physical and communication connections, common or proprietary, such as USB, FireWire, Thunderbolt, Ethernet, or PCIe. The peripheral device connection interface 1518 may also be coupled to a similarly configured peripheral device connection port (not shown). The mobile device 1500 may also include speakers 1514 for providing audio outputs.

The mobile device 1500 may also include a housing 1520, constructed of a plastic, metal, or a combination of materials, for containing all or some of the components discussed herein. The mobile device 1500 may include a power source 1522 coupled to the processor 1501, such as a disposable or rechargeable battery. The rechargeable battery may also be coupled to the peripheral device connection port to receive a charging current from a source external to the mobile device 1500.

The various embodiments (including, but not limited to, embodiments discussed above with reference to FIGS. 1-15) may also be implemented on any of a variety of commercially available server devices, such as the server 1600 illustrated in FIG. 17. Such a server 1600 typically includes a processor 1601 coupled to volatile memory 1602 and a large capacity nonvolatile memory, such as a disk drive 1604. The server 1600 may also include a floppy disc drive, compact disc (CD) or DVD disc drive 1606 coupled to the processor 1601. The server 1600 may also include one or more wired or wireless network transceivers 1603, such one or more network access ports and/or wired or wireless modems (e.g., one wireless modem, two wireless modems, three wireless modems, four wireless modems, or more than four wireless modems), coupled to the processor 1601 for establishing network interface connections with one or more communication networks 1607, such as a local area network (e.g., Ethernet, etc.) coupled to other computing devices and/or servers, the Internet, the public switched telephone network, and/or one or more cellular networks (e.g., CDMA, TDMA, GSM, PCS, 3G, 4G, LTE, or any other type of cellular network).

The processors 1501 and 1601 may be any programmable microprocessor, microcomputer or multiple processor chip or chips that can be configured by software instructions (applications) to perform a variety of functions, including the functions of the various embodiments described above. In some devices, multiple processors may be provided, such as one processor dedicated to wireless communication functions and one processor dedicated to running other applications. Typically, software applications may be stored in the internal memory before they are accessed and loaded into the processors 1501 and 1601. The processors 1501 and 1601 may include internal memory sufficient to store the application software instructions. In many devices, the internal memory may be a volatile or nonvolatile memory, such as flash memory, or a mixture of both. For the purposes of this description, a general reference to memory refers to memory accessible by the processors 1501 and 1601 including internal memory or removable memory plugged into the device and memory within the processors 1501 and 1601 themselves.

The foregoing method descriptions and the process flow diagrams are provided merely as illustrative examples and are not intended to require or imply that the steps of the various embodiments must be performed in the order presented. As will be appreciated by one of skill in the art the order of steps in the foregoing embodiments may be performed in any order. Words such as “thereafter,” “then,” “next,” etc. are not intended to limit the order of the steps; these words are simply used to guide the reader through the description of the methods. Further, any reference to claim elements in the singular, for example, using the articles “a,” “an” or “the” is not to be construed as limiting the element to the singular.

The various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

The hardware used to implement the various illustrative logics, logical blocks, modules, and circuits described in connection with the aspects disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but, in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Alternatively, some steps or methods may be performed by circuitry that is specific to a given function.

In one or more exemplary aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or code on a non-transitory computer-readable medium or non-transitory processor-readable medium. The steps of a method or algorithm disclosed herein may be embodied in a processor-executable software module, which may reside on a non-transitory computer-readable or processor-readable storage medium. Non-transitory server-readable, computer-readable or processor-readable storage media may be any storage media that may be accessed by a computer or a processor. By way of example but not limitation, such non-transitory server-readable, computer-readable or processor-readable media may include RAM, ROM, EEPROM, FLASH memory, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store desired program code in the form of instructions or data structures and that may be accessed by a computer. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above are also included within the scope of non-transitory server-readable, computer-readable and processor-readable media. Additionally, the operations of a method or algorithm may reside as one or any combination or set of codes and/or instructions on a non-transitory server-readable, processor-readable medium and/or computer-readable medium, which may be incorporated into a computer program product.

The preceding description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the following claims and the principles and novel features disclosed herein. 

What is claimed is:
 1. A method for multi path transmission from a vehicle, comprising: receiving, in a scheduler running on a processor of an in-vehicle computing device, a packet for transport; determining, in the scheduler, delivery delays associated with a plurality of modems based at least in part on leaky bucket levels of packet streams associated with each modem of the plurality of modems; and assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays, wherein the scheduler determines the delivery delays associated with the plurality of modems and assigns the packet to two or more of the plurality of modems in response to a determination that a scenario for multipath transmission is occurring.
 2. The method of claim 1, wherein determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams associated with each modem of the plurality of modems comprises determining, in the scheduler, the delivery delays based at least in part on the leaky bucket levels of packet streams and delivery rates for each delivery path associated with each of the plurality of modems.
 3. The method of claim 2, wherein the delivery delays are further determined based on end to end delay estimates for each of the plurality of modems.
 4. The method of claim 1, wherein: the scheduler is one of a plurality of schedulers each associated with a separate stream of packets assigned to the plurality of modems; and the leaky bucket levels of packet streams are determined on a per packet stream basis.
 5. The method of claim 4, wherein: a leaky bucket rate and burst size are determined based on aggregate rate feedback from each modem of the plurality of modems at each update time of the leaky bucket rate and burst size.
 6. The method of claim 5, wherein the leaky bucket levels of packet streams are adjusted based at least in part on queue feedback from the plurality of modems.
 7. The method of claim 4, wherein the plurality of modems is three or more modems and the plurality of schedulers is three or more schedulers.
 8. The method of claim 1, wherein assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays comprises assigning, by the scheduler, the packet to two or more of the plurality of modems based at least in part on the determined delivery delays and a path priority.
 9. The method of claim 1, further comprising: determining, in the scheduler, an adjusted media generation rate based at least in part on an available bandwidth; and controlling, by the scheduler, one or more encoders providing packets to the scheduler for transport according to the adjusted media generation rate.
 10. The method of claim 1, wherein the plurality of modems is three or more modems.
 11. The method of claim 1, wherein the scenario for multipath transmission is an ongoing scenario during vehicle operation.
 12. The method of claim 1, wherein: the packet for transport supports remote teleoperation of the vehicle in which the in-vehicle computing device is installed; and the scenario for multi path transmission is a scenario for remote teleoperation of the vehicle.
 13. The method of claim 12, further comprising transmitting the packet from the assigned two or more of the plurality of modems to a remote teleoperator computing device.
 14. The method of claim 13, wherein the transmission is a Multipath Real-Time Transport Protocol (MPRTP) transmission.
 15. An in-vehicle computing device, comprising: a processor configured with processor-executable instructions to perform operations comprising: receiving a packet for transport; determining delivery delays associated with a plurality of modems based at least in part on leaky bucket levels of packet streams associated with each modem of the plurality of modems; and assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays, wherein determining the delivery delays associated with the plurality of modems and assigning the packet to two or more of the plurality of modems are performed in response to a determination that a scenario for multi path transmission is occurring.
 16. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams associated with each modem of the plurality of modems comprises determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams and delivery rates for each delivery path associated with each of the plurality of modems.
 17. The in-vehicle computing device of claim 16, wherein the processor is configured with processor-executable instructions to perform operations such that the delivery delays are further determined based on end to end delay estimates for each of the plurality of modems.
 18. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that: each one of a plurality of schedulers is associated with a separate stream of packets assigned to the plurality of modems; and the leaky bucket levels of packet streams are determined on a per packet stream basis.
 19. The in-vehicle computing device of claim 18, wherein the processor is configured with processor-executable instructions to perform operations such that: a leaky bucket rate and burst size are determined based on aggregate rate feedback from each modem of the plurality of modems at each update time of the leaky bucket rate and burst size.
 20. The in-vehicle computing device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations such that the leaky bucket levels of packet streams are adjusted based at least in part on queue feedback from the plurality of modems.
 21. The in-vehicle computing device of claim 18, wherein the processor is configured with processor-executable instructions to perform operations such that the plurality of modems is three or more modems and the plurality of schedulers is three or more schedulers.
 22. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays comprises assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays and a path priority.
 23. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations further comprising: determining an adjusted media generation rate based at least in part on an available bandwidth; and controlling one or more encoders providing packets for transport according to the adjusted media generation rate.
 24. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that the plurality of modems is three or more modems.
 25. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that the scenario for multipath transmission is an ongoing scenario during vehicle operation.
 26. The in-vehicle computing device of claim 15, wherein the processor is configured with processor-executable instructions to perform operations such that: the packet for transport supports remote teleoperation of a vehicle in which the in-vehicle computing device is installed; and the scenario for multipath transmission is a scenario for remote teleoperation of the vehicle.
 27. The in-vehicle computing device of claim 26, wherein the processor is configured with processor-executable instructions to perform operations further comprising transmitting the packet from the assigned two or more of the plurality of modems to a remote teleoperator computing device.
 28. The in-vehicle computing device of claim 27, wherein the processor is configured with processor-executable instructions to perform operations such that the transmission is a Multipath Real-Time Transport Protocol (MPRTP) transmission.
 29. An in-vehicle computing device, comprising: means for receiving a packet for transport; means for determining delivery delays associated with a plurality of modems based at least in part on leaky bucket levels of packet streams associated with each modem of the plurality of modems; and means for assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays, wherein determining the delivery delays associated with the plurality of modems and assigning the packet to two or more of the plurality of modems are performed in response to a determination that a scenario for multipath transmission is occurring.
 30. The in-vehicle computing device of claim 29, wherein the means for determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams associated with each modem of the plurality of modems comprises means for determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams and delivery rates for each delivery path associated with each of the plurality of modems.
 31. The in-vehicle computing device of claim 30, wherein the means for the determining delivery delays based at least in part on the leaky bucket levels of packet streams and the delivery rates for each delivery path associated with each of the plurality of modems comprises means for determining the delivery delays based at least in part on the leaky bucket levels of packet streams, the delivery rates for each delivery path associated with each of the plurality of modems, and end to end delay estimates for each of the plurality of modems.
 32. The in-vehicle computing device of claim 29, wherein: each one of a plurality of schedulers is associated with a separate stream of packets assigned to the plurality of modems; and the leaky bucket levels of packet streams are determined on a per packet stream basis.
 33. The in-vehicle computing device of claim 32, wherein: a leaky bucket rate and burst size are determined based on aggregate rate feedback from each modem of the plurality of modems at each update time of the leaky bucket rate and burst size.
 34. The in-vehicle computing device of claim 33, wherein the leaky bucket levels of packet streams are adjusted based at least in part on queue feedback from the plurality of modems.
 35. The in-vehicle computing device of claim 32, wherein the plurality of modems is three or more modems and the plurality of schedulers is three or more schedulers.
 36. The in-vehicle computing device of claim 29, wherein the means for assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays comprises means for assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays and a path priority.
 37. The in-vehicle computing device of claim 29, further comprising: means for determining an adjusted media generation rate based at least in part on an available bandwidth; and means for controlling one or more encoders providing packets for transport according to the adjusted media generation rate.
 38. The in-vehicle computing device of claim 29, wherein the plurality of modems is three or more modems.
 39. The in-vehicle computing device of claim 29, wherein the scenario for multipath transmission is an ongoing scenario during vehicle operation.
 40. The in-vehicle computing device of claim 29, wherein: the packet for transport supports remote teleoperation of a vehicle in which the in-vehicle computing device is installed; and the scenario for multipath transmission is a scenario for remote teleoperation of the vehicle.
 41. The in-vehicle computing device of claim 40, further comprising means for transmitting the packet from the assigned two or more of the plurality of modems to a remote teleoperator computing device.
 42. The in-vehicle computing device of claim 41, wherein the transmission is a Multipath Real-Time Transport Protocol (MPRTP) transmission.
 43. A non-transitory processor-readable storage medium having stored thereon processor-executable instructions configured to cause a processor of an in-vehicle computing device to perform operations comprising: receiving a packet for transport; determining delivery delays associated with a plurality of modems based at least in part on leaky bucket levels of packet streams associated with each modem of the plurality of modems; and assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays, wherein determining the delivery delays associated with the plurality of modems and assigning the packet to two or more of the plurality of modems are performed in response to a determination that a scenario for multipath transmission is occurring.
 44. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that determining the delivery delays associated with a plurality of modems based at least in part on the leaky bucket levels of packet streams associated with each modem of the plurality of modems comprises determining the delivery delays associated with the plurality of modems based at least in part on the leaky bucket levels of packet streams and delivery rates for each delivery path associated with each of the plurality of modems.
 45. The non-transitory processor-readable storage medium of claim 44, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the delivery delays are further determined based on end to end delay estimates for each of the plurality of modems.
 46. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that: each one of a plurality of schedulers is associated with a separate stream of packets assigned to the plurality of modems; and the leaky bucket levels of packet streams are determined on a per packet stream basis.
 47. The non-transitory processor-readable storage medium of claim 46, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that: a leaky bucket rate and burst size are determined based on aggregate rate feedback from each modem of the plurality of modems at each update time of the leaky bucket rate and burst size.
 48. The non-transitory processor-readable storage medium of claim 47, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the leaky bucket levels of packet streams are adjusted based at least in part on queue feedback from the plurality of modems.
 49. The non-transitory processor-readable storage medium of claim 46, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the plurality of modems is three or more modems and the plurality of schedulers is three or more schedulers.
 50. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays comprises assigning the packet to two or more of the plurality of modems based at least in part on the determined delivery delays and a path priority.
 51. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations further comprising: determining an adjusted media generation rate based at least in part on an available bandwidth; and controlling one or more encoders providing packets for transport according to the adjusted media generation rate.
 52. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the plurality of modems is three or more modems.
 53. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the scenario for multipath transmission is an ongoing scenario during vehicle operation.
 54. The non-transitory processor-readable storage medium of claim 43, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that: the packet for transport supports remote teleoperation of a vehicle in which the in-vehicle computing device is installed; and the scenario for multi path transmission is a scenario for remote teleoperation of the vehicle.
 55. The non-transitory processor-readable storage medium of claim 54, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations further comprising transmitting the packet from the assigned two or more of the plurality of modems to a remote teleoperator computing device.
 56. The non-transitory processor-readable storage medium of claim 55, wherein the stored processor-executable instructions are configured to cause the processor of the in-vehicle computing device to perform operations such that the transmission is a Multipath Real-Time Transport Protocol (MPRTP) transmission. 